﻿using B.S.DataBase.MyProject.Domain.Departments;
using B.S.DataBase.MyProject.ErrorCode;
using B.S.DataBase.MyRead.API.DTOs;
using MediatR;

namespace B.S.DataBase.MyRead.API.Appicant.Command.Departs
{
    /// <summary>
    /// 部门的查询命令
    /// </summary>
    public class DepartQueryCommand:IRequest<APIResult<List<DepartDtos>>>
    {

        /// <summary>
        /// 部门名称
        /// </summary>
        public string? DepartName { get; set; }


    }
}
